package com.olive.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_teacher")
public class TeacherDO implements Serializable {

	@TableId(value = "id", type = IdType.AUTO)

	private Long id;

	@TableField("user_name")
	private String name;

	@TableField("sex")
	private int sex;

	@TableField("office")
	private String office;
}
